<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>胖猫农场</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>胖猫农场</h1>
            <div class="resources">
                <div class="resource">
                    <span>金币:</span>
                    <span id="money">100</span>
                </div>
            </div>
        </header>

        <div class="actions top-actions">
            <div class="top-container">
                <div class="farm-operations">
                    <div class="action-btn">
                        <div class="action-img-container">
                            <img id="water-img" src="pictures/可乐.png" alt="浇水" class="draggable" draggable="true">
                        </div>
                        <p>拖拽可乐</p>
                    </div>
                    <div class="action-btn">
                        <div class="action-img-container">
                            <img id="fertilize-img" src="pictures/麦当劳.png" alt="施肥" class="draggable" draggable="true">
                        </div>
                        <p>拖拽麦当劳</p>
                    </div>
                    <button id="harvest-btn" class="action-btn" disabled>
                        <div class="action-img-container">
                            <img src="pictures/收获.png" alt="收获">
                        </div>
                        收获
                    </button>
                </div>
                
                <div class="divider"></div>
                
                <div class="top-market">
                    <h3>交易市场</h3>
                    <div class="market-info">
                        <p>点击作物出售获得金币</p>
                    </div>
                    <div id="market-items" class="market-items top-market-items">
                        <!-- 市场物品会通过JS动态生成 -->
                    </div>
                </div>
            </div>
        </div>

        <div class="game-area">
            <div class="farm-area">
                <h2>我的农场</h2>
                <div id="farm-plots" class="farm-plots">
                    <!-- 农田格子会通过JS动态生成 -->
                </div>
            </div>

            <div class="control-panel">
                <div class="shop">
                    <h2>种子商店</h2>
                    <div class="seed-items">
                        <div class="seed-item" data-seed="胖猫" data-price="10">
                            <div class="seed-img-container">
                                <img src="pictures/胖猫.jpg" alt="胖猫种子">
                            </div>
                            <p>胖猫 (10金币)</p>
                            <button class="buy-btn">购买</button>
                        </div>
                        <div class="seed-item" data-seed="叮咚鸡" data-price="15">
                            <div class="seed-img-container">
                                <img src="pictures/叮咚鸡.jpg" alt="叮咚鸡种子">
                            </div>
                            <p>叮咚鸡 (15金币)</p>
                            <button class="buy-btn">购买</button>
                        </div>
                        <div class="seed-item" data-seed="瓢仓" data-price="20">
                            <div class="seed-img-container">
                                <img src="pictures/瓢仓.jpg" alt="瓢仓种子">
                            </div>
                            <p>瓢仓 (20金币)</p>
                            <button class="buy-btn">购买</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div id="notification" class="notification"></div>
    </div>

    <script src="game.js"></script>
</body>
</html> 